package cn.gson.crmdemo.model.vo;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import cn.gson.crmdemo.model.pojo.Address;
import cn.gson.crmdemo.model.pojo.Customer;
import cn.gson.crmdemo.model.pojo.Order;

@Entity
@Table(name = "deliver")
public class DeliverAddressCustomerOrderVo {
	@Id
	@Column(name="d_id")
	private int dId;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="d_date")
	private Date dDate;

	@Column(name="d_deliver")
	private String dDeliver;

	@Column(name="d_freight")
	private int dFreight;

	@Column(name="d_isornotuse")
	private int dIsornotuse;

	@Column(name="d_no")
	private String dNo;

	@Column(name="d_people")
	private String dPeople;

	@Column(name="d_remark")
	private String dRemark;

	@Column(name="d_state")
	private int dState;

	@Column(name="d_transexepens")
	private BigDecimal dTransexepens;

	@Column(name="a_id")
	private int address;

	@Column(name="customer_id")
	private int customer;

	@Column(name="o_id")
	private int order;

	public int getdId() {
		return dId;
	}

	public void setdId(int dId) {
		this.dId = dId;
	}

	public Date getdDate() {
		return dDate;
	}

	public void setdDate(Date dDate) {
		this.dDate = dDate;
	}

	public String getdDeliver() {
		return dDeliver;
	}

	public void setdDeliver(String dDeliver) {
		this.dDeliver = dDeliver;
	}

	public int getdFreight() {
		return dFreight;
	}

	public void setdFreight(int dFreight) {
		this.dFreight = dFreight;
	}

	public int getdIsornotuse() {
		return dIsornotuse;
	}

	public void setdIsornotuse(int dIsornotuse) {
		this.dIsornotuse = dIsornotuse;
	}

	public String getdNo() {
		return dNo;
	}

	public void setdNo(String dNo) {
		this.dNo = dNo;
	}

	public String getdPeople() {
		return dPeople;
	}

	public void setdPeople(String dPeople) {
		this.dPeople = dPeople;
	}

	public String getdRemark() {
		return dRemark;
	}

	public void setdRemark(String dRemark) {
		this.dRemark = dRemark;
	}

	public int getdState() {
		return dState;
	}

	public void setdState(int dState) {
		this.dState = dState;
	}

	public BigDecimal getdTransexepens() {
		return dTransexepens;
	}

	public void setdTransexepens(BigDecimal dTransexepens) {
		this.dTransexepens = dTransexepens;
	}

	public int getAddress() {
		return address;
	}

	public void setAddress(int address) {
		this.address = address;
	}

	public int getCustomer() {
		return customer;
	}

	public void setCustomer(int customer) {
		this.customer = customer;
	}

	public int getOrder() {
		return order;
	}

	public void setOrder(int order) {
		this.order = order;
	}

	public DeliverAddressCustomerOrderVo(int dId, Date dDate, String dDeliver, int dFreight, int dIsornotuse,
			String dNo, String dPeople, String dRemark, int dState, BigDecimal dTransexepens, int address, int customer,
			int order) {
		super();
		this.dId = dId;
		this.dDate = dDate;
		this.dDeliver = dDeliver;
		this.dFreight = dFreight;
		this.dIsornotuse = dIsornotuse;
		this.dNo = dNo;
		this.dPeople = dPeople;
		this.dRemark = dRemark;
		this.dState = dState;
		this.dTransexepens = dTransexepens;
		this.address = address;
		this.customer = customer;
		this.order = order;
	}

	public DeliverAddressCustomerOrderVo() {
		super();
		// TODO Auto-generated constructor stub
	}

	@Override
	public String toString() {
		return "DeliverAddressCustomerOrderVo [dId=" + dId + ", dDate=" + dDate + ", dDeliver=" + dDeliver
				+ ", dFreight=" + dFreight + ", dIsornotuse=" + dIsornotuse + ", dNo=" + dNo + ", dPeople=" + dPeople
				+ ", dRemark=" + dRemark + ", dState=" + dState + ", dTransexepens=" + dTransexepens + ", address="
				+ address + ", customer=" + customer + ", order=" + order + "]";
	}

	
	
	
}
